package com.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.community.dto.MemberDTO;
import com.community.dto.OwnerDTO;
import com.community.po.MemberPO;
import com.community.po.OwnerPO;
import org.apache.ibatis.annotations.Mapper;

/**
 * @ToDo:
 * @Author：高尚磊
 * @date: 2024/6/4 17:14
 */
@Mapper
public interface MemberDAO extends BaseMapper<MemberPO> {
    Page<MemberDTO> page(MemberDTO memberDTO);
    MemberPO getById(Long id);


    int getCount();
}
